package com.zjitc.dao;

import com.zjitc.model.Product;
import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/5/2 15:08
 * @description:
 */
public interface ProductDao {

  List<Product> productAll(String type);

  Integer checkName(String pname);

  void pushProduct(Product product);

  Product showProduct(Integer pid);
}
